﻿using FytSoa.Common;
using FytSoa.Core.Model.Sw;
using FytSoa.Service.DtoModel;
using System.Threading.Tasks;

namespace FytSoa.Service.Interfaces
{
    /*!
    * 文件名称：Sw_activitygood服务接口
    */
	public interface ISw_activitygoodService: IBaseServer<Sw_activitygood>
	{
        /// <summary>
        /// 分页查询列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ApiResult<Page<SwActivityGoodsDto>>> GetPageGoods(PageParm param);

        /// <summary>
        /// 关联商品和取消关联操作
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        Task<ApiResult<string>> ActivityLinkGoods(Sw_activitygood model);
    }
}